import request from '@/utils/request'

// 查询会员列表
export function listMember(query) {
  return request({
    url: '/biz/member/list',
    method: 'get',
    params: query
  })
}


// 查询医院详细
export function getMember(id) {
  return request({
    url: '/biz/member/' + id,
    method: 'get'
  })
}


// 启用禁用会员
export function changeStatus(data) {
  return request({
    url: '/biz/member/changeStatus',
    method: 'put',
    data: data
  })
}
// 身份审核
export function audit(data) {
  return request({
    url: '/biz/member/audit',
    method: 'post',
    data: data
  })
}
